/*==============================================================================
            Copyright (c) 2013 Moritz Hader, Marcel Schrder
            All Rights Reserved.

	@file  Cone.h

	@brief Vertices and normals for a static cone-mesh
   
   This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
================================================================================*/

#ifndef _HEIMDALLCONE_LIBRARY__
#define _HEIMDALLCONE_LIBRARY__

#include <egl/HeimdallMath.h>

#define CONE_VERTICE_COUNT 60*3
#define CONE_NORMAL_COUNT 60*3

static H3DVector CONE_VERTICES[] ={
		1.5351,1.5317,-0.0753,
		1.4934,1.4903,0.0710,
		2.1120,0.0383,0.0710,
		2.1120,0.0383,0.0710,
		2.1709,0.0392,-0.0753,
		1.5351,1.5317,-0.0753,
		-0.0000,2.1675,-0.0753,
		-0.0000,2.1089,0.0710,
		1.4934,1.4903,0.0710,
		1.4934,1.4903,0.0710,
		1.5351,1.5317,-0.0753,
		-0.0000,2.1675,-0.0753,
		-1.5351,1.5317,-0.0753,
		-1.4934,1.4903,0.0710,
		-0.0000,2.1089,0.0710,
		-0.0000,2.1089,0.0710,
		-0.0000,2.1675,-0.0753,
		-1.5351,1.5317,-0.0753,
		-2.1709,-0.0034,-0.0753,
		-2.1120,-0.0031,0.0710,
		-1.4934,1.4903,0.0710,
		-1.4934,1.4903,0.0710,
		-1.5351,1.5317,-0.0753,
		-2.1709,-0.0034,-0.0753,
		-1.5351,-1.5385,-0.0753,
		-1.4934,-1.4965,0.0710,
		-2.1120,-0.0031,0.0710,
		-2.1120,-0.0031,0.0710,
		-2.1709,-0.0034,-0.0753,
		-1.5351,-1.5385,-0.0753,
		0.0000,-2.1743,-0.0753,
		0.0000,-2.1151,0.0710,
		-1.4934,-1.4965,0.0710,
		-1.4934,-1.4965,0.0710,
		-1.5351,-1.5385,-0.0753,
		0.0000,-2.1743,-0.0753,
		1.5351,-1.4959,-0.0753,
		1.4934,-1.4550,0.0710,
		0.0000,-2.1151,0.0710,
		0.0000,-2.1151,0.0710,
		0.0000,-2.1743,-0.0753,
		1.5351,-1.4959,-0.0753,
		2.1709,0.0392,-0.0753,
		2.1120,0.0383,0.0710,
		1.4934,-1.4550,0.0710,
		1.4934,-1.4550,0.0710,
		1.5351,-1.4959,-0.0753,
		2.1709,0.0392,-0.0753,
		0.0000,-2.1743,-0.0753,
		-1.5351,-1.5385,-0.0753,
		-2.1709,-0.0034,-0.0753,
		-2.1709,-0.0034,-0.0753,
		-1.5351,1.5317,-0.0753,
		-0.0000,2.1675,-0.0753,
		-0.0000,2.1675,-0.0753,
		1.5351,1.5317,-0.0753,
		2.1709,0.0392,-0.0753,
		-2.1709,-0.0034,-0.0753,
		-0.0000,2.1675,-0.0753,
		2.1709,0.0392,-0.0753,
		0.0000,-2.1743,-0.0753,
		-2.1709,-0.0034,-0.0753,
		2.1709,0.0392,-0.0753,
		1.5351,-1.4959,-0.0753,
		0.0000,-2.1743,-0.0753,
		2.1709,0.0392,-0.0753,
		0.3181,0.3181,3.5688,
		-0.0000,0.4499,3.5688,
		-0.3181,0.3181,3.5688,
		-0.3181,0.3181,3.5688,
		-0.4499,-0.0000,3.5688,
		-0.3181,-0.3181,3.5688,
		-0.3181,-0.3181,3.5688,
		0.0000,-0.4499,3.5688,
		0.3181,-0.3181,3.5688,
		-0.3181,0.3181,3.5688,
		-0.3181,-0.3181,3.5688,
		0.3181,-0.3181,3.5688,
		0.3181,0.3181,3.5688,
		-0.3181,0.3181,3.5688,
		0.3181,-0.3181,3.5688,
		0.4499,-0.0000,3.5688,
		0.3181,0.3181,3.5688,
		0.3181,-0.3181,3.5688,
		1.0445,1.0445,0.0790,
		1.4772,0.0280,0.0790,
		2.1120,0.0383,0.0710,
		2.1120,0.0383,0.0710,
		1.4934,1.4903,0.0710,
		1.0445,1.0445,0.0790,
		-0.0000,1.4772,0.0790,
		1.0445,1.0445,0.0790,
		1.4934,1.4903,0.0710,
		1.4934,1.4903,0.0710,
		-0.0000,2.1089,0.0710,
		-0.0000,1.4772,0.0790,
		-1.0445,1.0445,0.0790,
		-0.0000,1.4772,0.0790,
		-0.0000,2.1089,0.0710,
		-0.0000,2.1089,0.0710,
		-1.4934,1.4903,0.0710,
		-1.0445,1.0445,0.0790,
		-1.4772,-0.0000,0.0790,
		-1.0445,1.0445,0.0790,
		-1.4934,1.4903,0.0710,
		-1.4934,1.4903,0.0710,
		-2.1120,-0.0031,0.0710,
		-1.4772,-0.0000,0.0790,
		-1.0445,-1.0445,0.0790,
		-1.4772,-0.0000,0.0790,
		-2.1120,-0.0031,0.0710,
		-2.1120,-0.0031,0.0710,
		-1.4934,-1.4965,0.0710,
		-1.0445,-1.0445,0.0790,
		0.0000,-1.4772,0.0790,
		-1.0445,-1.0445,0.0790,
		-1.4934,-1.4965,0.0710,
		-1.4934,-1.4965,0.0710,
		0.0000,-2.1151,0.0710,
		0.0000,-1.4772,0.0790,
		1.0445,-1.0165,0.0790,
		0.0000,-1.4772,0.0790,
		0.0000,-2.1151,0.0710,
		0.0000,-2.1151,0.0710,
		1.4934,-1.4550,0.0710,
		1.0445,-1.0165,0.0790,
		1.4772,0.0280,0.0790,
		1.0445,-1.0165,0.0790,
		1.4934,-1.4550,0.0710,
		1.4934,-1.4550,0.0710,
		2.1120,0.0383,0.0710,
		1.4772,0.0280,0.0790,
		0.3181,0.3181,3.5688,
		0.4499,-0.0000,3.5688,
		1.4772,0.0280,0.0790,
		1.4772,0.0280,0.0790,
		1.0445,1.0445,0.0790,
		0.3181,0.3181,3.5688,
		-0.0000,0.4499,3.5688,
		0.3181,0.3181,3.5688,
		1.0445,1.0445,0.0790,
		1.0445,1.0445,0.0790,
		-0.0000,1.4772,0.0790,
		-0.0000,0.4499,3.5688,
		-0.3181,0.3181,3.5688,
		-0.0000,0.4499,3.5688,
		-0.0000,1.4772,0.0790,
		-0.0000,1.4772,0.0790,
		-1.0445,1.0445,0.0790,
		-0.3181,0.3181,3.5688,
		-0.4499,-0.0000,3.5688,
		-0.3181,0.3181,3.5688,
		-1.0445,1.0445,0.0790,
		-1.0445,1.0445,0.0790,
		-1.4772,-0.0000,0.0790,
		-0.4499,-0.0000,3.5688,
		-0.3181,-0.3181,3.5688,
		-0.4499,-0.0000,3.5688,
		-1.4772,-0.0000,0.0790,
		-1.4772,-0.0000,0.0790,
		-1.0445,-1.0445,0.0790,
		-0.3181,-0.3181,3.5688,
		0.0000,-0.4499,3.5688,
		-0.3181,-0.3181,3.5688,
		-1.0445,-1.0445,0.0790,
		-1.0445,-1.0445,0.0790,
		0.0000,-1.4772,0.0790,
		0.0000,-0.4499,3.5688,
		0.3181,-0.3181,3.5688,
		0.0000,-0.4499,3.5688,
		0.0000,-1.4772,0.0790,
		0.0000,-1.4772,0.0790,
		1.0445,-1.0165,0.0790,
		0.3181,-0.3181,3.5688,
		0.4499,-0.0000,3.5688,
		0.3181,-0.3181,3.5688,
		1.0445,-1.0165,0.0790,
		1.0445,-1.0165,0.0790,
		1.4772,0.0280,0.0790,
		0.4499,-0.0000,3.5688
};

static H3DVector CONE_NORMALS[] ={
		0.6533,0.6590,0.3727,
		0.4531,0.4585,0.7645,
		0.6458,0.0026,0.7635,
		0.6458,0.0026,0.7635,
		0.9275,0.0054,0.3739,
		0.6533,0.6590,0.3727,
		0.0000,0.9281,0.3723,
		-0.0000,0.6457,0.7636,
		0.4531,0.4585,0.7645,
		0.4531,0.4585,0.7645,
		0.6533,0.6590,0.3727,
		0.0000,0.9281,0.3723,
		-0.6563,0.6560,0.3727,
		-0.4563,0.4566,0.7638,
		-0.0000,0.6457,0.7636,
		-0.0000,0.6457,0.7636,
		0.0000,0.9281,0.3723,
		-0.6563,0.6560,0.3727,
		-0.9275,-0.0004,0.3738,
		-0.6450,0.0003,0.7642,
		-0.4563,0.4566,0.7638,
		-0.4563,0.4566,0.7638,
		-0.6563,0.6560,0.3727,
		-0.9275,-0.0004,0.3738,
		-0.6553,-0.6557,0.3750,
		-0.4559,-0.4556,0.7646,
		-0.6450,0.0003,0.7642,
		-0.6450,0.0003,0.7642,
		-0.9275,-0.0004,0.3738,
		-0.6553,-0.6557,0.3750,
		0.0100,-0.9268,0.3754,
		0.0084,-0.6462,0.7631,
		-0.4559,-0.4556,0.7646,
		-0.4559,-0.4556,0.7646,
		-0.6553,-0.6557,0.3750,
		0.0100,-0.9268,0.3754,
		0.6644,-0.6491,0.3705,
		0.4611,-0.4503,0.7646,
		0.0084,-0.6462,0.7631,
		0.0084,-0.6462,0.7631,
		0.0100,-0.9268,0.3754,
		0.6644,-0.6491,0.3705,
		0.9275,0.0054,0.3739,
		0.6458,0.0026,0.7635,
		0.4611,-0.4503,0.7646,
		0.4611,-0.4503,0.7646,
		0.6644,-0.6491,0.3705,
		0.9275,0.0054,0.3739,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,-1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.0000,0.0000,1.0000,
		0.3479,0.3511,0.8693,
		0.4912,0.0029,0.8710,
		0.6458,0.0026,0.7635,
		0.6458,0.0026,0.7635,
		0.4531,0.4585,0.7645,
		0.3479,0.3511,0.8693,
		0.0000,0.4927,0.8702,
		0.3479,0.3511,0.8693,
		0.4531,0.4585,0.7645,
		0.4531,0.4585,0.7645,
		-0.0000,0.6457,0.7636,
		0.0000,0.4927,0.8702,
		-0.3484,0.3484,0.8702,
		0.0000,0.4927,0.8702,
		-0.0000,0.6457,0.7636,
		-0.0000,0.6457,0.7636,
		-0.4563,0.4566,0.7638,
		-0.3484,0.3484,0.8702,
		-0.4927,0.0000,0.8702,
		-0.3484,0.3484,0.8702,
		-0.4563,0.4566,0.7638,
		-0.4563,0.4566,0.7638,
		-0.6450,0.0003,0.7642,
		-0.4927,0.0000,0.8702,
		-0.3484,-0.3483,0.8702,
		-0.4927,0.0000,0.8702,
		-0.6450,0.0003,0.7642,
		-0.6450,0.0003,0.7642,
		-0.4559,-0.4556,0.7646,
		-0.3484,-0.3483,0.8702,
		0.0049,-0.4893,0.8721,
		-0.3484,-0.3483,0.8702,
		-0.4559,-0.4556,0.7646,
		-0.4559,-0.4556,0.7646,
		0.0084,-0.6462,0.7631,
		0.0049,-0.4893,0.8721,
		0.3566,-0.3482,0.8669,
		0.0049,-0.4893,0.8721,
		0.0084,-0.6462,0.7631,
		0.0084,-0.6462,0.7631,
		0.4611,-0.4503,0.7646,
		0.3566,-0.3482,0.8669,
		0.4912,0.0029,0.8710,
		0.3566,-0.3482,0.8669,
		0.4611,-0.4503,0.7646,
		0.4611,-0.4503,0.7646,
		0.6458,0.0026,0.7635,
		0.4912,0.0029,0.8710,
		0.6774,0.6788,0.2836,
		0.9593,-0.0020,0.2824,
		0.4912,0.0029,0.8710,
		0.4912,0.0029,0.8710,
		0.3479,0.3511,0.8693,
		0.6774,0.6788,0.2836,
		-0.0000,0.9593,0.2824,
		0.6774,0.6788,0.2836,
		0.3479,0.3511,0.8693,
		0.3479,0.3511,0.8693,
		0.0000,0.4927,0.8702,
		-0.0000,0.9593,0.2824,
		-0.6783,0.6783,0.2824,
		-0.0000,0.9593,0.2824,
		0.0000,0.4927,0.8702,
		0.0000,0.4927,0.8702,
		-0.3484,0.3484,0.8702,
		-0.6783,0.6783,0.2824,
		-0.9593,-0.0000,0.2824,
		-0.6783,0.6783,0.2824,
		-0.3484,0.3484,0.8702,
		-0.3484,0.3484,0.8702,
		-0.4927,0.0000,0.8702,
		-0.9593,-0.0000,0.2824,
		-0.6783,-0.6783,0.2824,
		-0.9593,-0.0000,0.2824,
		-0.4927,0.0000,0.8702,
		-0.4927,0.0000,0.8702,
		-0.3484,-0.3483,0.8702,
		-0.6783,-0.6783,0.2824,
		-0.0000,-0.9593,0.2824,
		-0.6783,-0.6783,0.2824,
		-0.3484,-0.3483,0.8702,
		-0.3484,-0.3483,0.8702,
		0.0049,-0.4893,0.8721,
		-0.0000,-0.9593,0.2824,
		0.6794,-0.6781,0.2803,
		-0.0000,-0.9593,0.2824,
		0.0049,-0.4893,0.8721,
		0.0049,-0.4893,0.8721,
		0.3566,-0.3482,0.8669,
		0.6794,-0.6781,0.2803,
		0.9593,-0.0020,0.2824,
		0.6794,-0.6781,0.2803,
		0.3566,-0.3482,0.8669,
		0.3566,-0.3482,0.8669,
		0.4912,0.0029,0.8710,
		0.9593,-0.0020,0.2824};

#endif
